<template>
	<view class="container">
		<view class="flex flex-wrap diygw-col-24 flex-direction-column flex4-clz">
			<view class="flex flex-wrap diygw-col-24 justify-between flex-clz">
				<view class="flex diygw-col-0">
					<view class="diygw-tag margin-xs lg radius">
						<text class="icon diy-icon-back_android"></text>
						<text></text>
					</view>
				</view>
				<view class="diygw-col-0 text1-clz diygw-text-lg">
					{{ project_name_ }}
				</view>
			</view>
			<view class="flex flex-wrap diygw-col-24 flex3-clz">
				<view class="flex diygw-col-0">
					<view class="diygw-list">
						<view v-for="(item, index) in projectNeed.data.list[0].project_name_" :key="index" style="" class="diygw-item col-100 row solid-bottom">
							<view class="diygw-avatar">
								<image mode="aspectFit" class="diygw-avatar-img" src="/static/grid1.png"></image>
							</view>
							<view class="content">
								<view class="title">
									{{ item.project_name_ }}
								</view>
								<view class="text-sm remark">
									<p>5%股份|运营管理</p>
									<p>钱数|器材</p>
									<p>5%股份|人才</p>
								</view>
							</view>
						</view>
					</view>
				</view>
				<view class="diygw-col-0 text-clz">
					{{ projectNeed.data.list[0].project_type_ }}
				</view>
			</view>
			<view class="flex diygw-col-24 justify-between tag2-clz">
				<view class="diygw-tag xs radius">
					<text> 02-12 08:15 </text>
				</view>
			</view>
			<view class="flex flex-wrap diygw-col-24 justify-start flex1-clz">
				<view class="flex diygw-col-0">
					<view class="diygw-tag margin-xs radius bg-orange">
						<text class="icon diy-icon-people"></text>
						<text></text>
					</view>
				</view>
				<view class="diygw-col-20 text2-clz"> 您好，希望有几何多和您沟通，小罐绿茶项目 </view>
			</view>
			<view class="flex flex-wrap diygw-col-24 flex2-clz">
				<view class="diygw-col-21 text3-clz"> 您好，小罐绿茶项目。 </view>
				<view class="flex diygw-col-3">
					<view class="diygw-tag margin-xs radius bg-orange">
						<text class="icon diy-icon-my"></text>
						<text></text>
					</view>
				</view>
			</view>
			<view class="flex flex-wrap diygw-col-24 justify-start flex5-clz">
				<view class="flex diygw-col-0">
					<view class="diygw-tag margin-xs radius bg-orange">
						<text class="icon diy-icon-people"></text>
						<text></text>
					</view>
				</view>
				<view class="diygw-col-20 text5-clz"> 您好，希望有几何多和您沟通，小罐绿茶项目 </view>
			</view>
		</view>
		<view class="version text-grey flex-direction-column flex diygw-col-24 justify-center align-center">
			<view> DIY官网提供技术支持 </view>
			<view> http://www.diygw.com </view>
		</view>
		<view class="clearfix"></view>
	</view>
</template>

<script>
	//create by: 邓志锋 <280160522@qq.com> <https://www.diygw.com> DIYGW可视化设计一键生成源码
	export default {
		data() {
			return {
				//用户全局信息
				userInfo: {},
				projectNeed: {
					code: '',
					data: {
						count: 0,
						list: [
							{
								project_type_: '',
								user_phone_: '',
								user_name_: '',
								id_: '',
								project_status: '',
								picture_: '',
								project_desc_: '',
								project_name_: ''
							}
						]
					},
					isOk: true
				}
			};
		},
		onShow() {
			this.setCurrentPage(this);
		},
		onLoad(option) {
			this.setCurrentPage(this);
			if (option) {
				this.setData({
					globalOption: this.getOption(option)
				});
			}

			this.init();
		},
		methods: {
			async init() {},
			// 项目需求 API请求方法
			async projectNeedApi() {
				let projectNeed = await this.$http.post(
					'https://agent.diygw.com/',
					{
						url: '/form/formCustSql/view/liststr_projectList',
						method: 'post',
						headers: {
							'Content-Type': 'application/x-www-form-urlencoded'
						},
						param: '{"curPage":1,"pageSize":"10","params":"{"timestamp":"1659663297231"}"}'
					},
					{
						'Content-type': 'application/json'
					},
					'json'
				);
				this.projectNeed = projectNeed;
			}
		}
	};
</script>

<style lang="scss" scoped>
	.text1-clz {
		margin-left: 5px;
		margin-top: 8px;
		margin-bottom: 5px;
		margin-right: 85px;
	}
	.text-clz {
		margin-left: -40px;
		flex-shrink: 0;
		margin-top: 13px;
		margin-bottom: 5px;
		height: 25px !important;
		margin-right: 5px;
	}
	.tag2-clz {
		padding-top: 0px;
		padding-left: 150px;
		padding-bottom: 0px;
		padding-right: 0px;
	}
	.text2-clz {
		padding-top: 14px;
		padding-left: 0px;
		padding-bottom: 0px;
		padding-right: 0px;
	}
	.text3-clz {
		padding-top: 14px;
		padding-left: 0px;
		padding-bottom: 0px;
		padding-right: 0px;
	}
	.text5-clz {
		padding-top: 14px;
		padding-left: 0px;
		padding-bottom: 0px;
		padding-right: 0px;
	}
	.container {
		padding-left: 0px;
		padding-right: 0px;

		font-size: 12px;
	}
</style>
